<admintpl file="header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <form class="js-ajax-form" action="" method="post">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
            	<th></th>
            	<th>系统</th>
                <th>版本号</th>
                <th>更新说明</th>
                <th>下载地址</th>
                <th>是否提示更新</th>
                <th>是否必须更新</th>
                <th>兑吧控制</th>
                <th>视频控制</th>
                <th>添加时间</th>
                 <th>编辑</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="vo" key="keys">
                <tr>
                	<td>{$keys+1}</td>
                	<td><if condition="$vo.system_type eq 0">安卓<else/>IOS</if></td>
                    <td>{$vo.version}</td>
                    
                    <td><p  class="oPidText">{$vo.info}</p></td>
                    
                    <!--  
                    <td><textarea style="width: 498px; height: 70px;margin-left:4px;" disabled="true">{$vo.info}</textarea></td>
                     -->                
                    <td>{$vo.url}</td>
                    <td><if condition="$vo.is_update eq 1">是<else/>否</if></td>
                    <td><if condition="$vo.update_mode eq 1">是<else/>否</if></td>
                    <td><if condition="$vo.is_formal eq 0">审核<else/>线上</if></td>
                    <td><if condition="$vo.show_video eq 0">不显示<else/>显示</if></td>
                    <td><?php echo date('Y-m-d H:i:s', $vo['create_time']);?></td>
                    <td>
                        <!--<a href='{:U("Admin/Version/delete",array("id"=>$vo["id"]))}' class="js-ajax-dialog-btn"-->
                           <!--data-msg="确定要删除此地区吗？">删除</a>-->
                        <a href='{:U("Admin/Version/create",array("id"=>$vo["id"], "system_type"=>$vo['system_type']))}'>修改</a>
                    	<!--<a href='{:U("Admin/Version/historyVersion",array("system_type"=>$vo['system_type']))}'>历史版本</a></td>-->
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
    </form>
    <div class="pagination">{$page}</div>
</div>
<script type="text/javascript">
	var oPidText=document.getElementsByClassName("oPidText");
	
	for(var i=0;i<oPidText.length;i++){
		oPidText[i].innerHTML=oPidText[i].innerHTML.replace(/\n/g,"<br>");
	}
</script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/js/layer/layer.js"></script>

</body>
</html>